package com.cxrj.zhsq.userManage.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.userManage.entity.AppUser;

public interface AppUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(AppUser record);

    int insertSelective(AppUser record);

    AppUser selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(AppUser record);

    int updateByPrimaryKey(AppUser record);

	List<AppUser> selectByCondition(String string);

	int selectByMobile(String userMobile);

	void insertUser(AppUser record);

	int getAppUserCount(String string);

	List<Map<String, Object>> selectAppUserPager(Map<String, Object> sqlMap);

	AppUser selectAppUserByPhone(String userMobile);

	List<AppUser> selectAllAppUser();
	
	/**
	 * 查询健身房用户信息
	 * @return
	 */
	List<AppUser> selectByDepositToGym(Map<String, Object> sqlMap);
	
	int selectByDepositToGymCount();

	AppUser selectAppUserById(String userId);

	int updateAppUserByIds(List<String> list);
	
	int updateAppUserByThaw(List<String> list);
	
	int selectByMap(Map<String, Object> sqlMap);
	
	int selectByTel(Map<String, Object> map);
}